// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:15


// Source File Name:   oz.java

package com.zelix;

import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import javax.swing.AbstractButton;


//            m4, qz

final class oz
    implements PropertyChangeListener
{

    private final m4 a;
    private static String z;

    oz(m4 m4_1)
    {
        a = m4_1;
    }

    public void propertyChange(PropertyChangeEvent propertychangeevent)
    {
label0:
        {
            if(!propertychangeevent.getPropertyName().equals(z))
                break label0;
            String s = (String)propertychangeevent.getNewValue();
            if(s == null || s.length() == 0)
            {
                m4.e(a).setEnabled(false);
                if(qz.a == 0)
                    break label0;
            }
            m4.e(a).setEnabled(true);
        }
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0xf;
                    break;
                case 1:
                    key = 97;
                    break;
                case 2:
                    key = 29;
                    break;
                case 3:
                    key = 25;
                    break;
                default:
                    key = 61;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static 
    {
        z = z("i\bq|sn\fxZUn\017z|Y".toCharArray());
    }
}